package ass.dao;

import java.sql.Date;
import java.util.List;

import ass.beans.MovieBean;

/**
 * The Data Access Object for phonebook entries
 * @author  yunki
 */
public interface MovieDAO {

	void insert(MovieBean MovieBean) throws DataAccessException;
	
	void delete(int id) throws DataAccessException;
	
	List<MovieBean> getMovieByRangeDate (String from, String to) throws DataAccessException;
	
	List<MovieBean> getMovieComingSoon (String from) throws DataAccessException;
	
//	List<MovieBean> getMovie (String title, String actor, String genre, String from, String to) throws DataAccessException;

	List<MovieBean> getMovie (String title, String actor, String genre, String yearFrom, String yearTo) throws DataAccessException;
	
	MovieBean getMovie(int id) throws DataAccessException;
	
	MovieBean getMovieByTitle(String movietitle, String yearFrom, String yearTo) throws DataAccessException;
	
	MovieBean getMovieByTitle(String movietitle) throws DataAccessException;

	MovieBean getMovieByActor(String actor, String yearFrom, String yearTo) throws DataAccessException;

	
}
